package com.newtribe.rmi.rmiservice;


import java.rmi.* ;
import java.rmi.registry.* ;

/**
 * <p>Title: ҵ��䶯��Ϣ����</p>
 * <p>Description:��rmi ���� </p>
 * <p>Copyright: Copyright (c) 2005</p>
 * <p>Company: ShenYang Neusoft Corp.</p>
 * @author fuwei ,fuw@neusoft.com
 * @version 1.0
 */

public final class RmiSvr {

  public final static int DEFAULT = 1099;

  public static void start() throws Exception {
    start(DEFAULT);
  }

  /**
   *
   * @param port �˿�
   * @throws java.lang.Exception
   */
  public static void start(int port) throws RemoteException {
    LocateRegistry.createRegistry(port);
  }


}